package com.gfxy.modules.items.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gfxy.modules.common.entity.MemberList;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author: JinChongLi
 * @Description:
 * @Date: Created in 10:15 2021/8/27
 * @Modified By:
 */
@Data
public class TYxjcPage {
    private static final long serialVersionUID = 1L;

    public int itemValue = 5;
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**出版时间*/
    @Excel(name = "出版时间", width = 15)
    @ApiModelProperty(value = "出版时间")
    private String date;
    /**级别*/
    @Excel(name = "级别", width = 15, dicCode = "YXJC_CLASSESS")
    @Dict(dicCode = "YXJC_CLASSESS")
    @ApiModelProperty(value = "级别")
    private Integer classess;
    /**奖项*/
    @Excel(name = "奖项", width = 15, dicCode = "YXJC_AWARD")
    @Dict(dicCode = "YXJC_AWARD")
    @ApiModelProperty(value = "奖项")
    private Integer award;
    /**教材名称*/
    @Excel(name = "总分", width = 15)
    @ApiModelProperty(value = "总分")
    private Double totalScore;
    /**审批*/
    @Excel(name = "是否审批", width = 15, dicCode = "yn_status")
    @Dict(dicCode = "yn_status")
    @ApiModelProperty(value = "审批")
    private Integer isPass;
    @Excel(name = "教材名称", width = 15)
    @ApiModelProperty(value = "教材名称")
    private String projectName;

    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "PROJECT_STATUS")
    private Integer status;

    @ExcelCollection(name="成员列表")
    @ApiModelProperty(value = "成员列表")
    private List<MemberList> memberListList;
}
